package com.xca.ninedemo.service;

import com.xca.ninedemo.entity.Weather;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

//http://apis.juhe.cn/simpleWeather/query?city=%E8%8B%8F%E5%B7%9E&key=
public interface WeatherService {
    @GET("simpleWeather/query")
    Observable<Weather> getData(@Query("city") String city ,
                                @Query("key") String key);
}
